package baidu.hudson.plugin.result.collector.utils;

/**
 * Created by IntelliJ IDEA.
 * User: Richard
 * Date: 4/16/11
 * Time: 8:59 PM
 * To change this template use File | Settings | File Templates.
 */
public class LocalCache {
    private  static LocalCache instance = null;

    private String serverName;
    private String serverPort;
    private String serverLocalName;
    private String serverLocalAddr;

    private LocalCache(){
    }

    public static LocalCache getInstance(){
          if(null==instance)  {
              instance = new LocalCache();
          }
        return instance;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getServerPort() {
        return serverPort;
    }

    public void setServerPort(String serverPort) {
        this.serverPort = serverPort;
    }


    public String getServerLocalName() {
        return serverLocalName;
    }

    public void setServerLocalName(String serverLocalName) {
        this.serverLocalName = serverLocalName;
    }

    public String getServerLocalAddr() {
        return serverLocalAddr;
    }

    public void setServerLocalAddr(String serverLocalAddr) {
        this.serverLocalAddr = serverLocalAddr;
    }
}
